package br.ucb.musicbay.genero;


import java.util.List;

import br.ucb.musicbay.util.DAOFactory;

public class GeneroBO {
	GeneroInterfaceDao generoHibernate;
	
	public GeneroBO() {
		generoHibernate = DAOFactory.createGeneroDao();
	}
	
	public List<Genero> recoverAll(){
		return generoHibernate.recoverAll();	
	}
	
	public Genero recoverById(Integer id){
		return generoHibernate.recoverById(id);
	}
	
	public boolean save(Genero genero){
		return generoHibernate.save(genero);
	}

}
